
{extend name="index/admin-index" /}
{block name="main"}

  <link rel="stylesheet" href="/static/assets/css/bootstrap.css">
  <script src="/static/assets/js/jquery.min.js"></script>
  <!-- content start -->
  <div class="admin-content">
    <div class="admin-content-body">
      <div class="am-cf am-padding am-padding-bottom-0">
        <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">职位添加</strong> / <small>{$data.name}</small></div>
      </div>

      <hr/>

      <div style="margin-left:100px">
     
        
    <form action="/admin/Jurisdiction/saverole?id={$data.id}" class="form-inline" enctype="multipart/form-data" method="post" id='form'>
    <div class="form-group has-success has-feedback">
   {volist name="list" id="vo"}
          <input type="checkbox" name="role[]"  value="{$vo.id}" {if condition="in_array($vo['id'],$role) eq true"}checked{/if}>{$vo.name}
          &nbsp;
          &nbsp;
          &nbsp;
    {/volist}
    

    <br>
    <br>
    <button href="" type="submit"  class="btn btn-info " style='float:right;' id='add'>添加</button >
    
    </div>
    </form>
    </div>
    
{/block}